/*!
 * @file SoundActuator.inl
 * @author Rocco Martino
 */
/***************************************************************************
 *   Copyright (C) 2014 by Rocco Martino                                   *
 *   martinorocco@gmail.com                                                *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Lesser General Public License as        *
 *   published by the Free Software Foundation; either version 2.1 of the  *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU Lesser General Public      *
 *   License along with this program; if not, write to the                 *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/

#ifndef _OOGAME_SOUNDACTUATOR_INL
#define _OOGAME_SOUNDACTUATOR_INL




/* ======================================================================= */
/* ....................................................................... */
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline void
ooGame::SoundActuator::setMode( Mode mode )
{
    m_mode = mode ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline ooGame::SoundActuator::Mode
ooGame::SoundActuator::getMode(void) const
{
    return m_mode ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline void
ooGame::SoundActuator::setSound3D( bool sound3d )
{
    m_sound3d = sound3d ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline bool
ooGame::SoundActuator::getSound3D(void) const
{
    return m_sound3d ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline void
ooGame::SoundActuator::setGain( ooReal gain )
{
    m_gain = gain ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline ooReal
ooGame::SoundActuator::getGain(void) const
{
    return m_gain ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline void
ooGame::SoundActuator::setPitch( ooReal pitch )
{
    m_pitch = pitch ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline ooReal
ooGame::SoundActuator::getPitch(void) const
{
    return m_pitch ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline pSound::Source*
ooGame::SoundActuator::getSource(void)
{
    return m_source ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline const pSound::Source*
ooGame::SoundActuator::getSource(void) const
{
    return m_source ;
}
/* ....................................................................... */
/* ======================================================================= */




#endif /* _OOGAME_SOUNDACTUATOR_INL */
